-
Notifications
You must be signed in to change notification settings - Fork 9.2k
[WIP] HADOOP-19785. mvn site fails in JDK17 #8182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
|
Hi @zhtttylz, you've implemented new custom Doclet to support JDK17 in #8038, however, unfortunately
It seems our custom doclet implementation is prohibited after https://bugs.openjdk.org/browse/JDK-8253736:
Now I feel it's becoming really hard to maintain Hadoop's custom Doclets, and therefore I would like to drop the custom implementation. The primary change is we are going to build Hadoop JavaDoc with @slfan1989 @cnauroth @zhtttylz What do you think? |
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-hdfs</artifactId> | ||
| <version>${project.version}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added because Hadoop Dynamometer production classes depend on HDFS test jar
|
💔 -1 overall
This message was automatically generated. |
@aajisaka Thanks for the detailed analysis — after reading through it, I fully agree that the cost of maintaining this custom Doclet has become unreasonably high. With OpenJDK continuing to clean up internal APIs (the trend starting from JDK-8253736 is only getting stronger), future compatibility will only get worse, and the next LTS might break it completely.
|
Description of PR
Fix the following error while running
mvn sitewith JDK17JIRA: HADOOP-19785
How was this patch tested?
Ran the following command and verified the above error has been fixed:
However, the Hadoop custom Doclet is failing due to the change in https://bugs.openjdk.org/browse/JDK-8253736
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?AI Tooling
If an AI tool was used:
where is the name of the AI tool used.
https://www.apache.org/legal/generative-tooling.html